<?php
namespace app\common\validate;
use think\Validate;

/**
*商家入驻数据校验
*/
class Bis extends validate
{
	protected $rule = [
		'name' => 'require|max:25',
		'email' =>'email',
		'logo' => 'reuire',
		'city_id' => 'require',
		'bank_name' => 'require',
		'bank_user' => 'require',
		'faren' => 'require',
		'faren_tel' => 'require',
	];

	//场景设置
	protected $scene = [
		'add' => ['name','email','logo','city_id','bank_name','bank_user','faren','faren_tel'],
	];
}